#ifndef MAINHDV_H
#define MAINHDV_H

#include <QtGui/QWidget>
#include "hdcamera.h"

class QVBoxLayout;
class QPushButton;
class MainHDV : public QWidget
{
    Q_OBJECT

public:
    MainHDV(QWidget *parent = 0);
    ~MainHDV();

public slots:
    void onStartButtonClicked();

private:

    QVBoxLayout *mainLayout;
    QPushButton *startButton;

    IDeckLinkIterator			*deckLinkIterator;
    IDeckLinkDisplayMode		*displayMode;
    BMDVideoInputFlags			inputFlags;
    BMDDisplayMode				selectedDisplayMode;
    BMDPixelFormat				pixelFormat;
    int							displayModeCount;
    int							exitStatus;
    int							ch;
    bool 						foundDisplayMode;
    HRESULT						result;

    IDeckLink                   *decklink1;
    IDeckLink                   *decklink2;

    HDCamera                    *camera1;
    HDCamera                    *camera2;
};

#endif // MAINHDV_H
